package com.example.electronicmall.http;

import com.example.electronicmall.bean.MineOrderData;
import com.example.electronicmall.bean.MineOrderObject;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;
public interface MineOrderRequest {

    //订单
    //http://120.48.12.74:52801/api/v1/orders?memberId=1&pageNum=1&pageSize=5
    @GET("/api/v1/orders/getorderAndItemById/{memberId}?&pageNum=1&pageSize=5")
    Observable<MineOrderObject<MineOrderData>> requestOrder(@Query("memberId") int memberId);
    }
